﻿<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>校园店</title>
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="applicable-device" content="mobile">
	<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=yes, width=device-width">
	<meta name="format-detection" content="telephone=no" />
	<link rel="stylesheet" href="css/style-shop.css">
<script src="js/jquery.js"></script>
<script src="js/base64.js"></script>
<script type="text/javascript">
	$(document).ready(function(){
		var shopname=window.location.hash;
		var base=new Base64();
		shopname=base.decode(shopname.substring(1));
		$.ajax({
		      type: "post",
		      url: "/personalcenter/shopDetail",
		      data: {schopname:shopname},
		      dataType: "json",
		      success: function (data) {
		    	  if(data.result==0){
		    		 $("#shimg").attr('src','img/shlogo/'+data.shimg);
		    		 $("#spname").html(data.spname);
		    		 $("#shname").html("——"+data.shname);
		    		 $("#spaddress").html("地址："+data.spaddress);
		    		 $("#sptel").html("电话："+data.sptel);
		    		 $("#sphour").html("营业时间："+data.sphour);
		    	  }else{
		    		  window.location.href='index.html';
		    	  }
		      }
		}); 
 	});
</script>
<!--百度统计-->
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?24866553cf6bdd25afcd437091f96447";
  var s = document.getElementsByTagName("script")[0];
  s.parentNode.insertBefore(hm, s);
})();
</script>

</head>
<body>
<div class="page">
	<header class="base-header"><a href="javascript:history.go(-1);" class="btn-back posa">返回</a></header>
	<div style="padding:4%;">
		<div class="shop-img img-box"><img src="img/shlogo/logo00.png" id="shimg" alt=""/></div>
		<div class="shop-list d-box">
			<div class="shop-list-wrap">
				<h3 id="spname"></h3>
            	<h4 id="shname"></h4>
            	<p id="spaddress"></p>
            	<p id="sptel"></p>
            	<p id="sphour"></p>
            	<div class="shop-tips">温馨提示：<br>请在前往校园店之前致电确认所办理业务范围</div>
			</div>
		</div>

		<!-- 2019-05-27 搜索 -->
        <!-- <div class="search-bar search-bar-bottom clearfix">
          <input type="text" class="txtSearch boxz fl" placeholder="请输入校区名称">
          <button type="button" class="btn btn-search boxz fr">搜索</button>
        </div> -->
        <!-- 2019-05-27 搜索 end -->

    </div>
</div>
</body>
</html>